.class public Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;
.super Lcom/bitauto/autoeasy/BaseActivity;
.source "CarTypeActivity.java"

# interfaces
.implements Landroid/widget/AdapterView$OnItemClickListener;
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/bitauto/autoeasy/selectcar/CarTypeActivity$downLoadTask;
    }
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Lcom/bitauto/autoeasy/BaseActivity;",
        "Landroid/widget/AdapterView$OnItemClickListener;",
        "Landroid/view/View$OnClickListener;"
    }
.end annotation


# instance fields
.field private final VENDORID:Ljava/lang/String;

.field private final VENDORNAME:Ljava/lang/String;

.field private biansux:Landroid/widget/TextView;

.field private carImage:Lcom/bitauto/autoeasy/widget/RemoteImageView;

.field carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

.field private changjzdjia:Landroid/widget/TextView;

.field daochld:Landroid/widget/TextView;

.field fjsanqn:Landroid/widget/TextView;

.field hzdlx:Landroid/widget/TextView;

.field private jingxiaosbj:Landroid/widget/TextView;

.field private list:Ljava/util/ArrayList;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/ArrayList",
            "<",
            "Lcom/bitauto/autoeasy/selectcar/Object/Dealer;",
            ">;"
        }
    .end annotation
.end field

.field private listView:Landroid/widget/ListView;

.field lunkcl:Landroid/widget/TextView;

.field private pailiang:Landroid/widget/TextView;

.field qzdlx:Landroid/widget/TextView;

.field sjyh:Landroid/widget/TextView;

.field sqgkyh:Landroid/widget/TextView;

.field tianchxs:Landroid/widget/TextView;

.field private titleText:Landroid/widget/TextView;

.field private url:Ljava/lang/String;

.field zhyh:Landroid/widget/TextView;

.field zuidagl:Landroid/widget/TextView;

.field zuidaniuj:Landroid/widget/TextView;

.field zuixiaoldjx:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 1

    .prologue
    .line 32
    invoke-direct {p0}, Lcom/bitauto/autoeasy/BaseActivity;-><init>()V

    .line 34
    const-string v0, "VendorID"

    iput-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->VENDORID:Ljava/lang/String;

    .line 35
    const-string v0, "vendorName"

    iput-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->VENDORNAME:Ljava/lang/String;

    .line 32
    return-void
.end method


# virtual methods
.method public downLoadData()V
    .locals 2

    .prologue
    .line 139
    new-instance v0, Lcom/bitauto/autoeasy/selectcar/Object/Dealer2Parser;

    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->url:Ljava/lang/String;

    invoke-direct {v0, v1}, Lcom/bitauto/autoeasy/selectcar/Object/Dealer2Parser;-><init>(Ljava/lang/String;)V

    .line 140
    .local v0, dealerParser:Lcom/bitauto/autoeasy/selectcar/Object/Dealer2Parser;
    invoke-virtual {v0}, Lcom/bitauto/autoeasy/selectcar/Object/Dealer2Parser;->Paser2Object()Ljava/util/ArrayList;

    move-result-object v1

    iput-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->list:Ljava/util/ArrayList;

    .line 141
    invoke-super {p0}, Lcom/bitauto/autoeasy/BaseActivity;->downLoadData()V

    .line 142
    return-void
.end method

.method public initView()V
    .locals 6

    .prologue
    const/4 v5, 0x0

    .line 69
    const v2, 0x102000a

    invoke-virtual {p0, v2}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ListView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->listView:Landroid/widget/ListView;

    .line 70
    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->listView:Landroid/widget/ListView;

    invoke-virtual {v2, v5}, Landroid/widget/ListView;->setHeaderDividersEnabled(Z)V

    .line 71
    invoke-static {p0}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v2

    const v3, 0x7f030013

    const/4 v4, 0x0

    invoke-virtual {v2, v3, v4}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 73
    .local v1, header:Landroid/view/View;
    invoke-virtual {v1, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 75
    const/high16 v2, 0x7f0b

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->titleText:Landroid/widget/TextView;

    .line 78
    const v2, 0x7f0b002c

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->jingxiaosbj:Landroid/widget/TextView;

    .line 79
    const v2, 0x7f0b002e

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->changjzdjia:Landroid/widget/TextView;

    .line 80
    const v2, 0x7f0b0030

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->pailiang:Landroid/widget/TextView;

    .line 81
    const v2, 0x7f0b002a

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Lcom/bitauto/autoeasy/widget/RemoteImageView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carImage:Lcom/bitauto/autoeasy/widget/RemoteImageView;

    .line 82
    const v2, 0x7f0b0032

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->biansux:Landroid/widget/TextView;

    .line 85
    const v2, 0x7f0b0036

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zhyh:Landroid/widget/TextView;

    .line 86
    const v2, 0x7f0b0038

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->sqgkyh:Landroid/widget/TextView;

    .line 87
    const v2, 0x7f0b003a

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->sjyh:Landroid/widget/TextView;

    .line 88
    const v2, 0x7f0b003c

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->qzdlx:Landroid/widget/TextView;

    .line 89
    const v2, 0x7f0b003e

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->hzdlx:Landroid/widget/TextView;

    .line 92
    const v2, 0x7f0b0041

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zuidagl:Landroid/widget/TextView;

    .line 93
    const v2, 0x7f0b0043

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zuidaniuj:Landroid/widget/TextView;

    .line 94
    const v2, 0x7f0b0045

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zuixiaoldjx:Landroid/widget/TextView;

    .line 95
    const v2, 0x7f0b0047

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->lunkcl:Landroid/widget/TextView;

    .line 96
    const v2, 0x7f0b0049

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->tianchxs:Landroid/widget/TextView;

    .line 97
    const v2, 0x7f0b004b

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->daochld:Landroid/widget/TextView;

    .line 99
    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->listView:Landroid/widget/ListView;

    invoke-virtual {v2, v1}, Landroid/widget/ListView;->addHeaderView(Landroid/view/View;)V

    .line 101
    new-instance v0, Lcom/bitauto/autoeasy/selectcar/Object/CarTypeParser;

    new-instance v2, Ljava/lang/StringBuilder;

    const-string v3, "http://m.bitauto.com/iphoneapi/v2/showcar/?id="

    invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v3

    const-string v4, "carID"

    invoke-virtual {v3, v4, v5}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v2

    invoke-direct {v0, v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarTypeParser;-><init>(Ljava/lang/String;)V

    .line 102
    .local v0, cop:Lcom/bitauto/autoeasy/selectcar/Object/CarTypeParser;
    invoke-virtual {v0}, Lcom/bitauto/autoeasy/selectcar/Object/CarTypeParser;->Parser2Obj()V

    .line 103
    invoke-virtual {v0}, Lcom/bitauto/autoeasy/selectcar/Object/CarTypeParser;->getCarInfo()Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    move-result-object v2

    iput-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    .line 106
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 5
    .parameter "v"

    .prologue
    const-string v4, "title"

    const-string v3, "carName"

    .line 193
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/bitauto/autoeasy/selectcar/CarParameterActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 194
    .local v0, intent:Landroid/content/Intent;
    const-string v1, "CarType"

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 195
    const-string v1, "title"

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "title"

    invoke-virtual {v1, v4}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v4, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 196
    const-string v1, "carName"

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "carName"

    invoke-virtual {v1, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v3, v1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 197
    invoke-virtual {p0, v0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->startActivity(Landroid/content/Intent;)V

    .line 198
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 4
    .parameter "savedInstanceState"

    .prologue
    const/4 v3, 0x0

    .line 54
    invoke-super {p0, p1}, Lcom/bitauto/autoeasy/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 55
    const v0, 0x7f03001f

    invoke-virtual {p0, v0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->setLayout(I)V

    .line 56
    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->setTitleContent()V

    .line 57
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "http://m.bitauto.com/iphoneapi/v2/getvendorbycarid/?id="

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v1

    const-string v2, "carID"

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, "&city="

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getCityID()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->url:Ljava/lang/String;

    .line 59
    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->initView()V

    .line 61
    iget-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    if-eqz v0, :cond_0

    .line 62
    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->setView()V

    .line 65
    :cond_0
    new-instance v0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity$downLoadTask;

    invoke-direct {v0, p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity$downLoadTask;-><init>(Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;)V

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/String;

    const-string v2, ""

    aput-object v2, v1, v3

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity$downLoadTask;->execute([Ljava/lang/Object;)Landroid/os/AsyncTask;

    .line 66
    return-void
.end method

.method public onItemClick(Landroid/widget/AdapterView;Landroid/view/View;IJ)V
    .locals 9
    .parameter
    .parameter "view"
    .parameter "position"
    .parameter "id"
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/widget/AdapterView",
            "<*>;",
            "Landroid/view/View;",
            "IJ)V"
        }
    .end annotation

    .prologue
    .local p1, parent:Landroid/widget/AdapterView;,"Landroid/widget/AdapterView<*>;"
    const/4 v6, 0x1

    const-string v8, "title"

    const-string v7, "carName"

    .line 177
    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->list:Ljava/util/ArrayList;

    sub-int v3, p3, v6

    invoke-virtual {v2, v3}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/bitauto/autoeasy/selectcar/Object/Dealer;

    .line 178
    .local v0, dea:Lcom/bitauto/autoeasy/selectcar/Object/Dealer;
    new-instance v1, Landroid/content/Intent;

    const-class v2, Lcom/bitauto/autoeasy/selectcar/DealerDetailActivity;

    invoke-direct {v1, p0, v2}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 179
    .local v1, intent:Landroid/content/Intent;
    const-string v2, "VendorID"

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/selectcar/Object/Dealer;->getVendorID()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 180
    const-string v2, "vendorName"

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/selectcar/Object/Dealer;->getVendorName()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 181
    const-string v2, "carname"

    new-instance v3, Ljava/lang/StringBuilder;

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v4

    const-string v5, "title"

    invoke-virtual {v4, v8}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-static {v4}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v4

    invoke-direct {v3, v4}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v4, "  "

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v4

    const-string v5, "carName"

    invoke-virtual {v4, v7}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v4

    invoke-virtual {v3, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v3

    invoke-virtual {v3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 182
    const-string v2, "vendorprice"

    invoke-virtual {v0}, Lcom/bitauto/autoeasy/selectcar/Object/Dealer;->getVcl_VendorPrice()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 183
    const-string v2, "averageprice"

    iget-object v3, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v3}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getAveragePrice()Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 184
    const-string v2, "title"

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v3, "carName"

    invoke-virtual {v2, v7}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v8, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    .line 185
    const-string v2, "gone"

    const/4 v3, 0x0

    invoke-virtual {v1, v2, v3}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 186
    const-string v2, "is_fav"

    invoke-virtual {v1, v2, v6}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    .line 187
    invoke-virtual {p0, v1}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->startActivity(Landroid/content/Intent;)V

    .line 189
    return-void
.end method

.method public refreshView()V
    .locals 4

    .prologue
    .line 146
    iget-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->list:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->list:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_0

    .line 147
    iget-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->listView:Landroid/widget/ListView;

    new-instance v1, Lcom/bitauto/autoeasy/news/Adapter/DealerAdapter;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->list:Ljava/util/ArrayList;

    const/4 v3, 0x1

    invoke-direct {v1, v2, p0, v3}, Lcom/bitauto/autoeasy/news/Adapter/DealerAdapter;-><init>(Ljava/util/ArrayList;Landroid/content/Context;Z)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    .line 148
    iget-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->listView:Landroid/widget/ListView;

    invoke-virtual {v0, p0}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    .line 152
    :goto_0
    invoke-super {p0}, Lcom/bitauto/autoeasy/BaseActivity;->refreshView()V

    .line 153
    return-void

    .line 150
    :cond_0
    iget-object v0, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->listView:Landroid/widget/ListView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    goto :goto_0
.end method

.method public setView()V
    .locals 4

    .prologue
    .line 110
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->titleText:Landroid/widget/TextView;

    invoke-virtual {p0}, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->getIntent()Landroid/content/Intent;

    move-result-object v2

    const-string v3, "carName"

    invoke-virtual {v2, v3}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 112
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v1}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getCarImg()Ljava/lang/String;

    move-result-object v0

    .line 113
    .local v0, imageUrl:Ljava/lang/String;
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carImage:Lcom/bitauto/autoeasy/widget/RemoteImageView;

    const v2, 0x7f020008

    invoke-virtual {v1, v2}, Lcom/bitauto/autoeasy/widget/RemoteImageView;->setImageResource(I)V

    .line 114
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carImage:Lcom/bitauto/autoeasy/widget/RemoteImageView;

    invoke-virtual {v1, v0}, Lcom/bitauto/autoeasy/widget/RemoteImageView;->setImageUrl(Ljava/lang/String;)V

    .line 116
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->jingxiaosbj:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getAveragePrice()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 117
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->changjzdjia:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getCarReferPrice()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 118
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->pailiang:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getEngine_ExhaustForFloat()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 119
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->biansux:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getUnderPan_TransmissionType()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 122
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zhyh:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getPerf_ZongHeYouHao()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 123
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->sqgkyh:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getPerf_ShiQuYouHao()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 124
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->sjyh:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getPerf_ShiJiaoYouHao()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 125
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->qzdlx:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getUnderPan_FrontBrakeType()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 126
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->hzdlx:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getUnderPan_RearBrakeType()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 129
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zuidagl:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getEngine_MaxPower()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 130
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zuidaniuj:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getEngine_MaxNJ()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 131
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->zuixiaoldjx:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getOutSet_MinGapFromEarth()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 132
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->lunkcl:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getUnderPan_RimMaterial()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 133
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->tianchxs:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getBody_Louver()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 134
    iget-object v1, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->daochld:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/bitauto/autoeasy/selectcar/CarTypeActivity;->carType:Lcom/bitauto/autoeasy/selectcar/Object/CarType;

    invoke-virtual {v2}, Lcom/bitauto/autoeasy/selectcar/Object/CarType;->getUnderPan_RRadar()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 135
    return-void
.end method
